package com.gao.springcloud.dao;

import com.gao.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author DarkRepulser
 * @date 2022/3/16 14:58
 * @desc dao层接口
 */
@Mapper
public interface PaymentDao {

    int create(Payment payment);

    Payment getPaymentById(@Param("id")Long id);

}
